import Layout from '../views/layout/Layout'
const _import = require('./_import_' + process.env.NODE_ENV)

const WithdrawMenu = {
  path: '/withdraw',
  component: Layout,
  name: '提现管理',
  meta: {
    title: '提现管理',
    icon: 'chart'
  },
  icon: 'chart',
  authority: 'withdraw',
  children: [
    {
      path: 'withdrawAccount',
      component: _import('crm/withdrawAccount/index'),
      name: '提现账户管理',
      meta: {
        title: '提现账户管理',
        icon: 'tab'
      },
      authority: 'withdrawAccount'
    }, {
      path: 'bindCard',
      component: _import('crm/withdrawAccount/bindCard'),
      name: '绑定银行卡',
      meta: {
        title: '绑定银行卡',
        icon: 'tab'
      },
      authority: 'bindCard',
      hidden: true
    }]
}

export default WithdrawMenu
